home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Contributions / Kneer_&_Abt / RTG / Picasso96Develop / Examples / Makefile < prev    next >
Encoding:
Makefile  |  1997-10-23  |  1016 b   |  45 lines

  1. # This Makefile makes the examples for Piccasso96 as of 02.03.1997
  2.  
  3. # The next variable should be set to the directory where You have installed
  4. # the Picasso96-includes (The given value is where I have installed them)
  5. PICASSO=/ADE/local/os-include
  6.  
  7. CC=gcc
  8. CFLAGS=-I$(PICASSO) -O2 -m68020 -fbaserel -fomit-frame-pointer
  9. LFLAGS=-noixemul -m68020 -fbaserel
  10.  
  11. .PHONY:    all
  12. .PHONY:    clean
  13. .PHONY:    no-obj
  14.  
  15. #
  16. #
  17. all: BestModeID.gnu ModeList.gnu OpenScreen.gnu \
  18.      RequestModeID.gnu WriteTrueColorData.gnu OpenPIP.gnu
  19. clean:
  20.     rm -rf BestModeID.gnu ModeList.gnu OpenScreen.gnu \
  21.            RequestModeID.gnu WriteTrueColorData.gnu OpenPIP.gnu \
  22.            *.o
  23. no-obj:
  24.     rm -rf *.o
  25.  
  26. #
  27. #
  28. BestModeID.gnu: BestModeID.o
  29.     $(CC) $(LFLAGS) -o $@ $<
  30.  
  31. ModeList.gnu: ModeList.o
  32.     $(CC) $(LFLAGS) -o $@ $<
  33.  
  34. OpenScreen.gnu: OpenScreen.o
  35.     $(CC) $(LFLAGS) -o $@ $<
  36.  
  37. RequestModeID.gnu: RequestModeID.o
  38.     $(CC) $(LFLAGS) -o $@ $<
  39.  
  40. WriteTrueColorData.gnu: WriteTrueColorData.o
  41.     $(CC) $(LFLAGS) -o $@ $<
  42.  
  43. OpenPIP.gnu: OpenPIP.o
  44.     $(CC) $(LFLAGS) -o $@ $<
  45.